/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rbh.risk.dao;

import com.rbh.risk.entity.SeverityLevel;
import java.util.List;
import org.springframework.dao.DataAccessException;

/**
 *
 * @author M
 */
public interface SeverityLevelDao {
    
    public void insert(SeverityLevel severityLevel) throws DataAccessException;
    
    public void update(SeverityLevel severityLevel) throws DataAccessException;
    
    public void delete(SeverityLevel severityLevel) throws DataAccessException;
    
    public SeverityLevel getById(Integer severityLevelId) throws DataAccessException;
    
    public List<SeverityLevel> getAll() throws DataAccessException;
}